package com.jiawa.my12306.${module}.req;

<#list typeSet as type>
<#if type=='Date'>
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
</#if>
<#if type=='BigDecimal'>
import java.math.BigDecimal;
</#if>
</#list>

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

public class ${Domain}DeleteReq {

    <#list fieldList as field>
    <#if field.name=="id">
        /**
        * ${field.comment}
        */
    @NotBlank(message = "【${field.nameCn}】不能为空")
    private ${field.javaType} ${field.nameHump};



    public ${field.javaType} get${field.nameBigHump}() {
        return ${field.nameHump};
    }

    public void set${field.nameBigHump}(${field.javaType} ${field.nameHump}) {
        this.${field.nameHump} = ${field.nameHump};
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", ${field.nameHump}=").append(${field.nameHump});
        sb.append("]");
        return sb.toString();
    }
    </#if>
    </#list>
}
